package org.example.dao;

import org.example.entity.AddressEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Coder
 */
@Repository
public interface IAddressDao {

    /**
     * 插入
     *
     * @param record record
     * @return 插入条数
     */
    int insertSelective(AddressEntity record);

    /**
     * 查询
     *
     * @param record record
     * @return list
     */
    List<AddressEntity> selectSelective(AddressEntity record);
}
